using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ICP_MS.Plugin.HPLC;

public class FormExperiment : Form, IExperiment
{
	private bool isQuiting = false;

	private ExperimentDatas experiment = new ExperimentDatas();

	private ExperimentDB db = new ExperimentDB();

	private string experimentPath = null;

	private bool isSaved = false;

	public static bool IsRun;

	private FormConfig formConfig = new FormConfig();

	private FormIsotopes formIsotopes = new FormIsotopes();

	private FormCalibration formMethod = new FormCalibration();

	private FormScan formScan = new FormScan();

	private FormSamples formSamples = new FormSamples();

	private FormConcentration formConcen = new FormConcentration();

	private FormResults formResults = new FormResults();

	private FormReport formReport = new FormReport();

	private bool createFromOld = false;

	private IContainer components = null;

	private GroupBox groupBox13;

	private ComboBox comboBox1;

	private Label label8;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn32;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn33;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn34;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn35;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn36;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn37;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn38;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn39;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn40;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn41;

	private MenuStrip menuStrip1;

	private ToolStripMenuItem fileToolStripMenuItem;

	private ToolStripMenuItem tsmiSave;

	private ToolStripMenuItem tsmiSaveAs;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn42;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn43;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn44;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn45;

	private DataGridViewComboBoxColumn dataGridViewComboBoxColumn1;

	private DataGridViewComboBoxColumn dataGridViewComboBoxColumn2;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn46;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn47;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn48;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn49;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn50;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn51;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn52;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn53;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn54;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn55;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn56;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn57;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn58;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn59;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn60;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn61;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn62;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn63;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn64;

	private ToolStrip toolStrip1;

	private ToolStripButton tsbtnConfig;

	private ToolStripButton tsbtnIsotopes;

	private ToolStripButton tsbtnScan;

	private ToolStripButton tsbtnStandards;

	private ToolStripButton tsbtnSamples;

	private ToolStripButton tsbtnConcen;

	private ToolStripButton tsbtnResults;

	private ToolStripButton tsbtnMethod;

	private ToolStripButton tsbtnReport;

	private Panel panelTest;

	public int CurrentStatus => experiment.Scan.currentStatus;

	public bool IsActive => experiment.IsRun;

	public event EventHandler updateToolstrip = null;

	public event EventHandler analyseFinish = null;

	public event DelegateExpProgress ExpEvent = null;

	public FormExperiment(string dbPath, bool isOpen = false)
	{
		InitializeComponent();
		experimentPath = dbPath;
		InitDB();
		if (!isOpen)
		{
			createFromOld = true;
			experiment.Dirty.SetAll();
		}
		isSaved = isOpen;
	}

	private void FormExperiment_Load(object sender, EventArgs e)
	{
		base.WindowState = FormWindowState.Maximized;
		Task.Factory.StartNew(delegate
		{
			LoadExperimentDatas();
		});
		experiment.EventExperiment += experiment_EventExperiment;
		LoadInstrumentConfig();
		tsbtnConfig.PerformClick();
		ApplyResources();
	}

	private void ApplyResources()
	{
		tsbtnConcen.Text = Lang.Txt("FormExperiment.STDConcentration.Text");
		tsbtnConfig.Text = Lang.Txt("FormExperiment.ScanCondition.Text");
		tsbtnIsotopes.Text = Lang.Txt("FormExperiment.AnalyteElement.Text");
		tsbtnMethod.Text = Lang.Txt("FormExperiment.CalibrationSetting.Text");
		tsbtnReport.Text = Lang.Txt("FormExperiment.Report.Text");
		tsbtnResults.Text = Lang.Txt("FormExperiment.ScanResult.Text");
		tsbtnSamples.Text = Lang.Txt("FormExperiment.SampleList.Text");
		tsbtnScan.Text = Lang.Txt("FormExperiment.ScanParam.Text");
		tsbtnStandards.Text = Lang.Txt("FormExperiment.InterSet.Text");
	}

	private bool InitDB()
	{
		if (File.Exists(experimentPath))
		{
			return db.Init(experimentPath);
		}
		return false;
	}

	private void FormExperiment_FormClosing(object sender, FormClosingEventArgs e)
	{
		if (experiment.IsRun)
		{
			MessageBox.Show(Lang.Txt("FormExperiment.MessageBox.IsRunning.Text"));
			e.Cancel = true;
			return;
		}
		if (!isSaved)
		{
			base.DialogResult = MessageBox.Show(Lang.Txt("FormExperiment.MessageBox.SaveingResult.Text"), Lang.Txt("FormExperiment.MessageBox.Analysis.Text"), MessageBoxButtons.YesNoCancel);
			if (base.DialogResult == DialogResult.Cancel)
			{
				e.Cancel = true;
			}
			else if (base.DialogResult == DialogResult.Yes && SaveDB() == 0)
			{
				e.Cancel = true;
			}
		}
		else
		{
			CheckDirty();
		}
		if (e.Cancel)
		{
			return;
		}
		experiment.EventExperiment -= experiment_EventExperiment;
		isQuiting = true;
		formConfig.Close();
		formIsotopes.Close();
		experiment = null;
		db.Close();
		if (isSaved)
		{
			return;
		}
		try
		{
			File.Delete(experimentPath);
		}
		catch
		{
		}
	}

	private void PerformProgressStep(ProgressBar bar)
	{
		Invoke((MethodInvoker)delegate
		{
			bar.PerformStep();
		});
	}

	private void AsynSaveDb(object sender, EventArgs e)
	{
		ProgressBar bar = sender as ProgressBar;
		experiment.CurrentPlat.name = "Experiment";
		experiment.CurrentLens.name = "Experiment";
		experiment.CurrentPlasma.Name = "Experiment";
		experiment.CurrentInjector.Name = "Experiment";
		experiment.CurrentRFS.name = "Experiment";
		experiment.StableConfig.Name = "Experiment";
		db.SavePlatform(experiment.CurrentPlat);
		db.SavePlasma(experiment.CurrentPlasma);
		db.SaveX2Lens(experiment.CurrentLens);
		db.SaveInjector(experiment.CurrentInjector);
		db.SaveRFS(experiment.CurrentRFS);
		db.SaveStableConfig(experiment.StableConfig);
		if (experiment.Dirty.PeakRegionsDirty)
		{
			db.DeleteExpPeakRegions();
			db.SaveExpPeakRegions(experiment.PeakRegions);
			experiment.Dirty.PeakRegionsDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.IsotopeInfoDirty || experiment.Dirty.ISTDDirty)
		{
			db.DeleteExpIsotopes();
			db.SaveExpIsotopes(experiment.Isotopes);
			experiment.Dirty.IsotopeInfoDirty = false;
			experiment.Dirty.ISTDDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.SamplesDirty)
		{
			db.DeleteExpSamples();
			db.SaveExpSamples(experiment.Samples);
			experiment.Dirty.SamplesDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.STDConcDirty)
		{
			db.DeleteExpStdConcs();
			db.SaveExpStdConcs(experiment.StdConcentration);
			experiment.Dirty.STDConcDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.ResultsDirty)
		{
			db.DeleteExpResults();
			db.SaveExpResults(experiment.Results);
			db.DeleteExpStatistics();
			db.SaveExpStatistics(experiment.Statistics);
			experiment.Dirty.ResultsDirty = false;
		}
		if (experiment.Dirty.RegionDirty)
		{
			db.DeleteIntegRegions();
			db.SaveIntegRegions(experiment.IntegerRegions);
			experiment.Dirty.RegionDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.CurveDirty)
		{
			db.DeleteExpCurves();
			db.SaveExpCurves(experiment.Curves);
			experiment.Dirty.CurveDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.RatiosDirty)
		{
			db.DeleteExpRatioResults();
			db.DeleteExpRatioStatistics();
			db.SaveExpRatioResults(experiment.RatioResults);
			db.SaveExpRatioStatstics(experiment.RatioStat);
			experiment.Dirty.RatiosDirty = false;
		}
		PerformProgressStep(bar);
		if (experiment.Dirty.SpectrumDirty)
		{
			db.DeleteExpSpectrums();
			db.SaveExpSpectrums(experiment.Spectrums);
			experiment.Dirty.SpectrumDirty = false;
		}
		db.SaveExpParams(experiment.Scan);
		db.SaveReportParams(experiment.ReportParams);
		db.DeleteAcqTimes();
		db.SaveAcqTimes(experiment.AcqTimes);
		db.DeleteIntegRegions();
		db.SaveIntegRegions(experiment.IntegerRegions);
		db.DeleteTimeSpectrums();
		db.SaveTimeSpectrums(experiment.TimeSpectrums);
		db.WriteToLocal();
		PerformProgressStep(bar);
	}

	private void CheckDirty(bool tip = true)
	{
		if (experiment.Dirty.HasDirty)
		{
			DialogResult result = DialogResult.Yes;
			if (tip)
			{
				result = MessageBox.Show(Lang.Txt("FormExperiment.MessageBox.DBChange.Text"), Lang.Txt("FormExperiment.MessageBox.Analysis.Text"), MessageBoxButtons.YesNo);
			}
			if (result == DialogResult.Yes)
			{
				FormWait wait = new FormWait();
				wait.Text = Lang.Txt("FormExperiment.MessageBox.SaveData.Text");
				wait.Run += AsynSaveDb;
				wait.ShowDialog();
			}
		}
		else
		{
			db.WriteToLocal();
		}
	}

	private int SaveDB(bool saveAs = false)
	{
		SaveFileDialog dlg = new SaveFileDialog();
		dlg.Filter = "测试文件(*.ncsh)|*.ncsh";
		dlg.FileName = Path.GetFileNameWithoutExtension(experimentPath);
		if (dlg.ShowDialog() == DialogResult.OK)
		{
			try
			{
				string fileName = dlg.FileName;
				if (File.Exists(fileName))
				{
					File.Delete(fileName);
				}
				if (!saveAs && File.Exists(experimentPath))
				{
					File.Delete(experimentPath);
				}
				experimentPath = fileName;
				db.ReConnect(experimentPath);
				CheckDirty(tip: false);
				Text = Path.GetFileNameWithoutExtension(experimentPath);
				if (this.updateToolstrip != null)
				{
					this.updateToolstrip(this, null);
				}
				return 1;
			}
			catch (Exception ex)
			{
				Log.InsertLog("Experiment", "Save datas error.", ex.Message, (Severity)3);
				return -1;
			}
		}
		return 0;
	}

	private void tsmiSave_Click(object sender, EventArgs e)
	{
		experiment.Dirty.SetAll();
		if (!isSaved)
		{
			if (SaveDB() == 1)
			{
				isSaved = true;
			}
		}
		else
		{
			CheckDirty(tip: false);
		}
	}

	private void tsmiSaveAs_Click(object sender, EventArgs e)
	{
		experiment.Dirty.SetAll();
		if (SaveDB(saveAs: true) == 1)
		{
			isSaved = true;
		}
	}

	private void LoadExperimentDatas()
	{
		LoadAnlyteIsotopes();
		LoadSurveyRegions();
		LoadScanRegions();
		LoadPeakRegions();
		LoadIsotopes();
		LoadInterferenceEquations();
		LoadSamples();
		LoadStdConcentrations();
		LoadResults();
		LoadStatistics();
		LoadIsotopeRatios();
		LoadRatioResults();
		LoadRatioStatistcs();
		LoadCurves();
		LoadScanParams();
		LoadDisallowedRegions();
		LoadSpectrums();
		LoadReportParams();
		LoadLCDatas();
		if (createFromOld)
		{
			experiment.SetUnTested();
		}
	}

	private void LoadInstrumentConfig()
	{
		Platform plat = db.GetPlatform("Experiment");
		if (plat != null)
		{
			experiment.CurrentPlat = plat;
		}
		else
		{
			experiment.CurrentPlat = PlatManager.plat.Clone();
		}
		X2Lens lens = db.GetX2Lens("Experiment");
		if (lens != null)
		{
			experiment.CurrentLens = lens;
		}
		else
		{
			experiment.CurrentLens = LensManager.x2lens.Clone();
		}
		PlasmaPara plasma = db.GetPlasma("Experiment");
		if (plasma != null)
		{
			experiment.CurrentPlasma = plasma;
		}
		else
		{
			experiment.CurrentPlasma = PlasmaManager.plasma.Clone();
		}
		RFS rfs = db.GetRFS("Experiment");
		if (rfs != null)
		{
			experiment.CurrentRFS = rfs;
		}
		else
		{
			experiment.CurrentRFS = RFManager.rfs.Clone();
		}
		AutoSampleTable autosamplet = db.GetAutoSampleTable();
		if (autosamplet != null)
		{
			experiment.AutosampleTable = autosamplet;
		}
		else
		{
			experiment.AutosampleTable = new AutoSampleTable();
			experiment.AutosampleTable.autoSample = false;
		}
		StableConfig stableconfig = db.GetStableConfig();
		if (stableconfig != null)
		{
			experiment.StableConfig = stableconfig;
		}
		else
		{
			experiment.StableConfig = new StableConfig();
			experiment.StableConfig.Stable = true;
			experiment.StableConfig.Time = 40;
		}
		Injector injector = db.GetInjector("Experiment");
		if (injector != null)
		{
			experiment.CurrentInjector = injector;
		}
		else
		{
			experiment.CurrentInjector = new Injector
			{
				Uptake = true,
				Wash = false,
				UptakeTime = 20,
				WashTime = 10,
				Perist = 350,
				PeristFast = 350
			};
		}
		if (createFromOld)
		{
			int platId = experiment.CurrentPlat.id;
			int lensId = experiment.CurrentLens.id;
			int plasmaId = experiment.CurrentPlasma.Id;
			int rfsId = experiment.CurrentRFS.id;
			experiment.CurrentPlat = PlatManager.plat.Clone();
			experiment.CurrentPlat.id = platId;
			experiment.CurrentLens = LensManager.x2lens.Clone();
			experiment.CurrentLens.id = lensId;
			experiment.CurrentPlasma = PlasmaManager.plasma.Clone();
			experiment.CurrentPlasma.Id = plasmaId;
			experiment.CurrentRFS = RFManager.rfs.Clone();
			experiment.CurrentRFS.id = rfsId;
		}
	}

	private void LoadAnlyteIsotopes()
	{
		IList<AnalyteIsotope> isotopes = db.GetSelectAnlyteIsotopes();
		if (isotopes != null && isotopes.Count > 0)
		{
			experiment.SelectIsotopes = isotopes.ToList();
		}
	}

	private void LoadSurveyRegions()
	{
		IList<ScanRegions> surveyRegions = db.GetExpSurveyRegions();
		if (surveyRegions != null)
		{
			experiment.SurveyRegions = surveyRegions;
		}
		if (!isSaved)
		{
			experiment.SurveyRegions.Clear();
			experiment.SurveyRegions.Add(new ScanRegions(4.0, 10.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(22.0, 80.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(85.0, 120.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(121.0, 145.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(146.0, 160.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(161.0, 189.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(190.0, 215.0, "Survey"));
			experiment.SurveyRegions.Add(new ScanRegions(216.0, 250.0, "Survey"));
		}
	}

	private void LoadScanRegions()
	{
		IList<ScanRegions> scanRegions = db.GetExpScanRegions();
		if (scanRegions != null)
		{
			experiment.ScanRegions = scanRegions;
		}
	}

	private void LoadPeakRegions()
	{
		IList<PeakRegions> peakRegions = db.GetExpPeakRegions();
		if (peakRegions != null && peakRegions.Count() > 0)
		{
			experiment.PeakRegions = new List<PeakRegions>(peakRegions);
		}
	}

	private void LoadIsotopes()
	{
		IList<IsotopeInfos> isotopes = db.GetExpIsotopes();
		if (isotopes != null && isotopes.Count > 0)
		{
			experiment.Isotopes = new List<IsotopeInfos>(isotopes);
		}
	}

	private void LoadInterferenceEquations()
	{
		foreach (IsotopeInfos isotope in experiment.Isotopes)
		{
			if (isotope.withInterference)
			{
				int peakId = db.GetAnalyteIsotopeBySymbol(isotope.symbol).id;
				IList<InterferenceEquation> equations = db.GetInterferenceEquation(peakId);
				if (equations != null && equations.Count() > 0)
				{
					isotope.equations = new List<InterferenceEquation>(equations);
				}
			}
		}
	}

	private void LoadSamples()
	{
		IList<SamplesInfos> samples = db.GetExpSamples();
		if (samples != null && samples.Count > 0)
		{
			experiment.Samples = new List<SamplesInfos>(samples);
		}
	}

	private void LoadStdConcentrations()
	{
		IList<STDConcentration> stdCon = db.GetExpStdConcs();
		if (stdCon != null && stdCon.Count > 0)
		{
			experiment.StdConcentration = new List<STDConcentration>(stdCon);
		}
	}

	private void LoadResults()
	{
		IList<HPLCAnalyseInfos> results = db.GetExpResults();
		if (results != null && results.Count > 0)
		{
			experiment.Results = new List<HPLCAnalyseInfos>(results);
		}
	}

	private void LoadStatistics()
	{
		IList<HPLCStatisticResults> stat = db.GetExpStatistics();
		if (stat != null && stat.Count > 0)
		{
			experiment.Statistics = new List<HPLCStatisticResults>(stat);
		}
	}

	private void LoadIsotopeRatios()
	{
		IList<IsotopeRatio> ratios = db.GetExpIsotopeRatios();
		if (ratios != null && ratios.Count > 0)
		{
			experiment.Ratios = new List<IsotopeRatio>(ratios);
		}
	}

	private void LoadRatioResults()
	{
		IList<RatioResults> results = db.GetExpRatioResults();
		if (results != null && results.Count > 0)
		{
			experiment.RatioResults = new List<RatioResults>(results);
		}
	}

	private void LoadRatioStatistcs()
	{
		IList<RatioStatistics> statistics = db.GetExpRatioStatistics();
		if (statistics != null && statistics.Count > 0)
		{
			experiment.RatioStat = new List<RatioStatistics>(statistics);
		}
	}

	private void LoadSpectrums()
	{
		IList<SpectrumInfos> spectrums = db.GetExpSpectrums();
		if (spectrums != null && spectrums.Count > 0)
		{
			experiment.Spectrums = new List<SpectrumInfos>(spectrums);
		}
	}

	private void LoadCurves()
	{
		IList<HPLCIsotopeCurve> curves = db.GetExpCurves();
		if (curves != null && curves.Count > 0)
		{
			experiment.Curves = new List<HPLCIsotopeCurve>(curves);
		}
	}

	private void LoadScanParams()
	{
		ScanParams scan = db.GetExpParams();
		if (scan != null)
		{
			experiment.Scan = scan;
		}
	}

	private void LoadDisallowedRegions()
	{
		IList<ExclusionRegion> regions = db.GetExclusionRegions();
		if (regions == null)
		{
			return;
		}
		foreach (ExclusionRegion region in regions)
		{
			experiment.DisallowedRanges.Add(new PointF
			{
				X = (float)region.start,
				Y = (float)region.end
			});
		}
	}

	private void LoadReportParams()
	{
		ReportParams p = db.GetReportParams();
		if (p != null)
		{
			experiment.ReportParams = p;
		}
	}

	private void LoadLA300Datas()
	{
		IList<AcqTime> acqs = db.GetAcqTimes();
		if (acqs != null && acqs.Any())
		{
			experiment.AcqTimes.AddRange(acqs);
		}
		IList<HPLCIntegerRegions> regions = db.GetIntegeRegions();
		if (regions != null && regions.Any())
		{
			experiment.IntegerRegions.AddRange(regions);
		}
		IList<HPLCTimeSpectrum> spectrums = db.GetTimeSpectrums();
		if (spectrums != null)
		{
			experiment.TimeSpectrums.AddRange(spectrums);
		}
	}

	private void LoadLCDatas()
	{
		IList<AcqTime> acqs = db.GetAcqTimes();
		if (acqs != null && acqs.Any())
		{
			experiment.AcqTimes.AddRange(acqs);
		}
		IList<HPLCIntegerRegions> regions = db.GetIntegeRegions();
		if (regions != null && regions.Any())
		{
			experiment.IntegerRegions.AddRange(regions);
		}
		IList<HPLCTimeSpectrum> spectrums = db.GetTimeSpectrums();
		if (spectrums != null)
		{
			experiment.TimeSpectrums.AddRange(spectrums);
		}
	}

	private void UnSelectAll()
	{
		Color color = Color.Black;
		Font font = new Font("Microsoft YaHei", 9f, FontStyle.Regular);
		tsbtnConfig.ForeColor = color;
		tsbtnConfig.Font = font;
		tsbtnConfig.Checked = false;
		tsbtnIsotopes.ForeColor = color;
		tsbtnIsotopes.Font = font;
		tsbtnIsotopes.Checked = false;
		tsbtnScan.ForeColor = color;
		tsbtnScan.Font = font;
		tsbtnScan.Checked = false;
		tsbtnStandards.ForeColor = color;
		tsbtnStandards.Font = font;
		tsbtnStandards.Checked = false;
		tsbtnMethod.ForeColor = color;
		tsbtnMethod.Font = font;
		tsbtnMethod.Checked = false;
		tsbtnSamples.ForeColor = color;
		tsbtnSamples.Font = font;
		tsbtnSamples.Checked = false;
		tsbtnConcen.ForeColor = color;
		tsbtnConcen.Font = font;
		tsbtnConcen.Checked = false;
		tsbtnResults.ForeColor = color;
		tsbtnResults.Font = font;
		tsbtnResults.Checked = false;
		tsbtnReport.ForeColor = color;
		tsbtnReport.Font = font;
		tsbtnReport.Checked = false;
	}

	private void tsbtnConfig_Click(object sender, EventArgs e)
	{
		if (!formConfig.Visible)
		{
			formConfig.SetParams(experiment, db);
			formConfig.TopLevel = false;
			formConfig.Parent = panelTest;
			formConfig.FormBorderStyle = FormBorderStyle.None;
			formConfig.Dock = DockStyle.Fill;
			formConfig.Show();
		}
		formConfig.Activate();
		formConfig.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnIsotopes_Click(object sender, EventArgs e)
	{
		if (!formIsotopes.Visible)
		{
			formIsotopes.SetParams(experiment, db);
			formIsotopes.TopLevel = false;
			formIsotopes.Parent = panelTest;
			formIsotopes.FormBorderStyle = FormBorderStyle.None;
			formIsotopes.Dock = DockStyle.Fill;
			formIsotopes.Show();
		}
		formIsotopes.Activate();
		formIsotopes.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnScan_Click(object sender, EventArgs e)
	{
		if (!formScan.Visible)
		{
			formScan.SetParams(experiment, db);
			formScan.TopLevel = false;
			formScan.Parent = panelTest;
			formScan.FormBorderStyle = FormBorderStyle.None;
			formScan.Dock = DockStyle.Fill;
			formScan.Show();
		}
		formScan.Activate();
		formScan.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnInternal_Click(object sender, EventArgs e)
	{
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnMethod_Click(object sender, EventArgs e)
	{
		if (!formMethod.Visible)
		{
			formMethod.SetParams(experiment, db);
			formMethod.TopLevel = false;
			formMethod.Parent = panelTest;
			formMethod.FormBorderStyle = FormBorderStyle.None;
			formMethod.Dock = DockStyle.Fill;
			formMethod.Show();
			tsbtnMethod.CheckedChanged += formMethod.SelectedChanged;
		}
		formMethod.Activate();
		formMethod.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnSamples_Click(object sender, EventArgs e)
	{
		if (!formSamples.Visible)
		{
			formSamples.SetParams(experiment, db);
			formSamples.TopLevel = false;
			formSamples.Parent = panelTest;
			formSamples.FormBorderStyle = FormBorderStyle.None;
			formSamples.Dock = DockStyle.Fill;
			formSamples.Show();
			tsbtnSamples.CheckedChanged += formSamples.SelectedChanged;
		}
		formSamples.Activate();
		formSamples.BringToFront();
		formSamples.SetSurveyScanVisible();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnConcen_Click(object sender, EventArgs e)
	{
		if (!formConcen.Visible)
		{
			formConcen.SetParams(experiment, db);
			formConcen.TopLevel = false;
			formConcen.Parent = panelTest;
			formConcen.FormBorderStyle = FormBorderStyle.None;
			formConcen.Dock = DockStyle.Fill;
			formConcen.Show();
		}
		formConcen.Activate();
		formConcen.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnResults_Click(object sender, EventArgs e)
	{
		if (!formResults.Visible)
		{
			formResults.SetParams(experiment, db);
			formResults.TopLevel = false;
			formResults.Parent = panelTest;
			formResults.FormBorderStyle = FormBorderStyle.None;
			formResults.Dock = DockStyle.Fill;
			formResults.Show();
		}
		formResults.Activate();
		formResults.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	private void tsbtnReport_Click(object sender, EventArgs e)
	{
		if (!formReport.Visible)
		{
			formReport.SetParams(experiment, db);
			formReport.TopLevel = false;
			formReport.Parent = panelTest;
			formReport.FormBorderStyle = FormBorderStyle.None;
			formReport.Dock = DockStyle.Fill;
			formReport.Show();
		}
		formReport.Activate();
		formReport.BringToFront();
		UnSelectAll();
		(sender as ToolStripButton).ForeColor = Color.Red;
		(sender as ToolStripButton).Font = new Font("Microsoft YaHei", 9f, FontStyle.Bold);
		(sender as ToolStripButton).Checked = true;
	}

	public bool PreRun()
	{
		return experiment.PreRun();
	}

	public int StartAnalysis()
	{
		if (Detector.Instance.ExperimentState != -1)
		{
			if (Detector.Instance.ExperimentState == 5)
			{
				MessageBox.Show(Lang.Txt("AddFormExperiment.WaitTest"), Lang.Txt("AddFormExperiment.Warn"));
				return 0;
			}
			if (MessageBox.Show(Lang.Txt("AddFormExperiment.StopOtherTest"), Lang.Txt("AddFormExperiment.Warn"), MessageBoxButtons.YesNo) != DialogResult.Yes)
			{
				return 0;
			}
			Detector.Instance.ExperimentStateChange(Detector.Instance.ExperimentState);
		}
		formConfig.SaveInject();
		ManualSaveDB();
		IsRun = true;
		experiment.StartRun();
		return 0;
	}

	private void ManualSaveDB()
	{
		experiment.Dirty.SetAll();
		if (!isSaved)
		{
			if (SaveDB() == 1)
			{
				isSaved = true;
			}
		}
		else
		{
			CheckDirty(tip: false);
		}
	}

	public void StopAnalysis()
	{
		if (experiment.IsRun)
		{
			experiment.StopRun();
			IsRun = false;
			ShowProgressStatus(Lang.Txt("FormExperiment.Status.EndAnalysis.Text"), 0);
		}
	}

	private void experiment_EventExperiment(object sendeer, ExperimentEventArgs e)
	{
		try
		{
			SamplesInfos sample = e.Sample;
			switch (e.StepIndex)
			{
			case -1:
				IsRun = false;
				if (this.analyseFinish != null)
				{
					this.analyseFinish(null, null);
				}
				ShowProgressStatus(Lang.Txt("FormExperiment.Status.TimeOut.Text"), 0);
				Invoke((MethodInvoker)delegate
				{
					MessageBox.Show(Lang.Txt("FormExperiment.Status.TimeOut.Text"));
				});
				break;
			case 0:
				if (IsRun && !experiment.AutosampleTable.autoSample)
				{
					FormPrepare dlg = new FormPrepare();
					dlg.Samplename = sample.label;
					if (dlg.ShowDialog() == DialogResult.Cancel)
					{
						StopAnalysis();
					}
				}
				break;
			case 1:
				Plasma.Instance.PeristalticPumpOnNormal();
				ShowProgressStatus(Lang.Txt("HPLCForm.Text3"), 0);
				break;
			case 2:
			{
				string msg = string.Format(Lang.Txt("HPLCForm.Text4"), sample.label, e.RunIndex, e.SweepIndex);
				ShowProgressStatus(msg, 0);
				break;
			}
			case 3:
				IsRun = false;
				if (this.analyseFinish != null)
				{
					this.analyseFinish(null, null);
				}
				ShowProgressStatus(Lang.Txt("FormExperiment.Status.EndAnalysis.Text"), 0);
				Invoke((MethodInvoker)delegate
				{
					MessageBox.Show(Lang.Txt("FormExperiment.Status.EndAnalysis.Text"));
				});
				break;
			case 4:
			{
				string msg = string.Format(Lang.Txt("HPLCForm.Text5"), sample.label, e.RunIndex + 1);
				ShowProgressStatus(msg, 0);
				break;
			}
			case 5:
			{
				string msg = string.Format(Lang.Txt("HPLCForm.Text6"), sample.label, e.RunIndex + 1);
				ShowProgressStatus(msg, 0);
				break;
			}
			}
		}
		catch (Exception ex)
		{
			Console.WriteLine(ex.Message);
		}
	}

	private void ShowProgressStatus(string msg, int percent)
	{
		if (this.ExpEvent != null)
		{
			this.ExpEvent(this, new ExpProgressArgs(msg, percent));
		}
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ICP_MS.Plugin.HPLC.FormExperiment));
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
		this.groupBox13 = new System.Windows.Forms.GroupBox();
		this.comboBox1 = new System.Windows.Forms.ComboBox();
		this.label8 = new System.Windows.Forms.Label();
		this.menuStrip1 = new System.Windows.Forms.MenuStrip();
		this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
		this.tsmiSave = new System.Windows.Forms.ToolStripMenuItem();
		this.tsmiSaveAs = new System.Windows.Forms.ToolStripMenuItem();
		this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
		this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
		this.toolStrip1 = new System.Windows.Forms.ToolStrip();
		this.tsbtnConfig = new System.Windows.Forms.ToolStripButton();
		this.tsbtnIsotopes = new System.Windows.Forms.ToolStripButton();
		this.tsbtnMethod = new System.Windows.Forms.ToolStripButton();
		this.tsbtnSamples = new System.Windows.Forms.ToolStripButton();
		this.tsbtnStandards = new System.Windows.Forms.ToolStripButton();
		this.tsbtnScan = new System.Windows.Forms.ToolStripButton();
		this.tsbtnConcen = new System.Windows.Forms.ToolStripButton();
		this.tsbtnResults = new System.Windows.Forms.ToolStripButton();
		this.tsbtnReport = new System.Windows.Forms.ToolStripButton();
		this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn45 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn46 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn47 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn50 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn51 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn52 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn53 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn54 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn55 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn56 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn57 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn58 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn59 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn60 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn61 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn62 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn63 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn64 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.panelTest = new System.Windows.Forms.Panel();
		this.groupBox13.SuspendLayout();
		this.menuStrip1.SuspendLayout();
		this.toolStrip1.SuspendLayout();
		base.SuspendLayout();
		this.groupBox13.Controls.Add(this.comboBox1);
		this.groupBox13.Controls.Add(this.label8);
		this.groupBox13.Dock = System.Windows.Forms.DockStyle.Top;
		this.groupBox13.Location = new System.Drawing.Point(3, 3);
		this.groupBox13.Name = "groupBox13";
		this.groupBox13.Size = new System.Drawing.Size(764, 57);
		this.groupBox13.TabIndex = 1;
		this.groupBox13.TabStop = false;
		this.groupBox13.Text = "单位";
		this.comboBox1.FormattingEnabled = true;
		this.comboBox1.Items.AddRange(new object[12]
		{
			"%", "g/L", "g/mL", "g/Kg", "mg/L", "mg/mL", "mg/Kg", "ppm", "ppb", "ug/L",
			"ug/mL", "ug/Kg"
		});
		this.comboBox1.Location = new System.Drawing.Point(112, 23);
		this.comboBox1.Name = "comboBox1";
		this.comboBox1.Size = new System.Drawing.Size(78, 23);
		this.comboBox1.TabIndex = 4;
		this.comboBox1.Text = "%";
		this.label8.AutoSize = true;
		this.label8.Location = new System.Drawing.Point(41, 27);
		this.label8.Name = "label8";
		this.label8.Size = new System.Drawing.Size(82, 15);
		this.label8.TabIndex = 3;
		this.label8.Text = "浓度单位：";
		this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
		this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[1] { this.fileToolStripMenuItem });
		this.menuStrip1.Location = new System.Drawing.Point(0, 0);
		this.menuStrip1.Name = "menuStrip1";
		this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
		this.menuStrip1.Size = new System.Drawing.Size(1056, 31);
		this.menuStrip1.TabIndex = 1;
		this.menuStrip1.Text = "menuStrip1";
		this.menuStrip1.Visible = false;
		this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2] { this.tsmiSave, this.tsmiSaveAs });
		this.fileToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.MatchOnly;
		this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
		this.fileToolStripMenuItem.Size = new System.Drawing.Size(69, 27);
		this.fileToolStripMenuItem.Text = "文件(&F)";
		this.tsmiSave.Name = "tsmiSave";
		this.tsmiSave.Size = new System.Drawing.Size(129, 26);
		this.tsmiSave.Text = "保存";
		this.tsmiSave.Click += new System.EventHandler(tsmiSave_Click);
		this.tsmiSaveAs.Name = "tsmiSaveAs";
		this.tsmiSaveAs.Size = new System.Drawing.Size(129, 26);
		this.tsmiSaveAs.Text = "另存为";
		this.tsmiSaveAs.Click += new System.EventHandler(tsmiSaveAs_Click);
		this.dataGridViewComboBoxColumn1.DataPropertyName = "resolution";
		this.dataGridViewComboBoxColumn1.HeaderText = "分辨率";
		this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1";
		this.dataGridViewComboBoxColumn2.DataPropertyName = "settings";
		this.dataGridViewComboBoxColumn2.HeaderText = "仪器设置";
		this.dataGridViewComboBoxColumn2.Name = "dataGridViewComboBoxColumn2";
		this.toolStrip1.AutoSize = false;
		this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
		this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[9] { this.tsbtnConfig, this.tsbtnIsotopes, this.tsbtnMethod, this.tsbtnSamples, this.tsbtnStandards, this.tsbtnScan, this.tsbtnConcen, this.tsbtnResults, this.tsbtnReport });
		this.toolStrip1.Location = new System.Drawing.Point(0, 0);
		this.toolStrip1.Name = "toolStrip1";
		this.toolStrip1.Size = new System.Drawing.Size(1056, 64);
		this.toolStrip1.TabIndex = 2;
		this.toolStrip1.Text = "toolStrip1";
		this.tsbtnConfig.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnConfig.Image = (System.Drawing.Image)resources.GetObject("tsbtnConfig.Image");
		this.tsbtnConfig.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnConfig.Name = "tsbtnConfig";
		this.tsbtnConfig.Size = new System.Drawing.Size(73, 61);
		this.tsbtnConfig.Text = "扫描条件";
		this.tsbtnConfig.Click += new System.EventHandler(tsbtnConfig_Click);
		this.tsbtnIsotopes.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnIsotopes.Image = (System.Drawing.Image)resources.GetObject("tsbtnIsotopes.Image");
		this.tsbtnIsotopes.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnIsotopes.Name = "tsbtnIsotopes";
		this.tsbtnIsotopes.Size = new System.Drawing.Size(73, 61);
		this.tsbtnIsotopes.Text = "分析元素";
		this.tsbtnIsotopes.Click += new System.EventHandler(tsbtnIsotopes_Click);
		this.tsbtnMethod.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnMethod.Image = (System.Drawing.Image)resources.GetObject("tsbtnMethod.Image");
		this.tsbtnMethod.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnMethod.Name = "tsbtnMethod";
		this.tsbtnMethod.Size = new System.Drawing.Size(73, 61);
		this.tsbtnMethod.Text = "校正设置";
		this.tsbtnMethod.Click += new System.EventHandler(tsbtnMethod_Click);
		this.tsbtnSamples.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnSamples.Image = (System.Drawing.Image)resources.GetObject("tsbtnSamples.Image");
		this.tsbtnSamples.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnSamples.Name = "tsbtnSamples";
		this.tsbtnSamples.Size = new System.Drawing.Size(73, 61);
		this.tsbtnSamples.Text = "样品列表";
		this.tsbtnSamples.Click += new System.EventHandler(tsbtnSamples_Click);
		this.tsbtnStandards.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnStandards.Image = (System.Drawing.Image)resources.GetObject("tsbtnStandards.Image");
		this.tsbtnStandards.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnStandards.Name = "tsbtnStandards";
		this.tsbtnStandards.Size = new System.Drawing.Size(73, 61);
		this.tsbtnStandards.Text = "内标设置";
		this.tsbtnStandards.Visible = false;
		this.tsbtnStandards.Click += new System.EventHandler(tsbtnInternal_Click);
		this.tsbtnScan.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnScan.Image = (System.Drawing.Image)resources.GetObject("tsbtnScan.Image");
		this.tsbtnScan.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnScan.Name = "tsbtnScan";
		this.tsbtnScan.Size = new System.Drawing.Size(73, 61);
		this.tsbtnScan.Text = "扫描参数";
		this.tsbtnScan.Click += new System.EventHandler(tsbtnScan_Click);
		this.tsbtnConcen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnConcen.Image = (System.Drawing.Image)resources.GetObject("tsbtnConcen.Image");
		this.tsbtnConcen.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnConcen.Name = "tsbtnConcen";
		this.tsbtnConcen.Size = new System.Drawing.Size(73, 61);
		this.tsbtnConcen.Text = "标样浓度";
		this.tsbtnConcen.Click += new System.EventHandler(tsbtnConcen_Click);
		this.tsbtnResults.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnResults.Image = (System.Drawing.Image)resources.GetObject("tsbtnResults.Image");
		this.tsbtnResults.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnResults.Name = "tsbtnResults";
		this.tsbtnResults.Size = new System.Drawing.Size(73, 61);
		this.tsbtnResults.Text = "扫描结果";
		this.tsbtnResults.Click += new System.EventHandler(tsbtnResults_Click);
		this.tsbtnReport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
		this.tsbtnReport.Image = (System.Drawing.Image)resources.GetObject("tsbtnReport.Image");
		this.tsbtnReport.ImageTransparentColor = System.Drawing.Color.Magenta;
		this.tsbtnReport.Name = "tsbtnReport";
		this.tsbtnReport.Size = new System.Drawing.Size(73, 61);
		this.tsbtnReport.Text = "打印报告";
		this.tsbtnReport.Click += new System.EventHandler(tsbtnReport_Click);
		dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
		this.dataGridViewTextBoxColumn1.HeaderText = "配置日期";
		this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
		this.dataGridViewTextBoxColumn1.ReadOnly = true;
		this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn1.Width = 42;
		dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle12;
		this.dataGridViewTextBoxColumn2.HeaderText = "用户";
		this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
		this.dataGridViewTextBoxColumn2.ReadOnly = true;
		this.dataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn2.Width = 32;
		dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle23;
		this.dataGridViewTextBoxColumn3.HeaderText = "Extraction";
		this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
		this.dataGridViewTextBoxColumn3.ReadOnly = true;
		this.dataGridViewTextBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn3.Width = 71;
		dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle34;
		this.dataGridViewTextBoxColumn4.HeaderText = "LensManager 1";
		this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
		this.dataGridViewTextBoxColumn4.ReadOnly = true;
		this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn4.Width = 37;
		dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle41;
		this.dataGridViewTextBoxColumn5.HeaderText = "LensManager 2";
		this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
		this.dataGridViewTextBoxColumn5.ReadOnly = true;
		this.dataGridViewTextBoxColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn5.Width = 37;
		dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle42;
		this.dataGridViewTextBoxColumn6.HeaderText = "LensManager 3";
		this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
		this.dataGridViewTextBoxColumn6.ReadOnly = true;
		this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn6.Width = 37;
		dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle43;
		this.dataGridViewTextBoxColumn7.HeaderText = "LensManager 4";
		this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
		this.dataGridViewTextBoxColumn7.ReadOnly = true;
		this.dataGridViewTextBoxColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn7.Width = 37;
		dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle44;
		this.dataGridViewTextBoxColumn8.HeaderText = "Pole Bias";
		this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
		this.dataGridViewTextBoxColumn8.ReadOnly = true;
		this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn8.Width = 37;
		dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle45;
		this.dataGridViewTextBoxColumn9.HeaderText = "Dif Aperture";
		this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
		this.dataGridViewTextBoxColumn9.ReadOnly = true;
		this.dataGridViewTextBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn9.Width = 75;
		dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle2;
		this.dataGridViewTextBoxColumn10.HeaderText = "等离子体功率";
		this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
		this.dataGridViewTextBoxColumn10.ReadOnly = true;
		this.dataGridViewTextBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn10.Width = 53;
		dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle3;
		this.dataGridViewTextBoxColumn11.HeaderText = "冷却气";
		this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
		this.dataGridViewTextBoxColumn11.ReadOnly = true;
		this.dataGridViewTextBoxColumn11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn11.Width = 42;
		dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle4;
		this.dataGridViewTextBoxColumn12.HeaderText = "辅助气";
		this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
		this.dataGridViewTextBoxColumn12.ReadOnly = true;
		this.dataGridViewTextBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn12.Width = 42;
		dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle5;
		this.dataGridViewTextBoxColumn13.HeaderText = "载气";
		this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
		this.dataGridViewTextBoxColumn13.ReadOnly = true;
		this.dataGridViewTextBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn13.Width = 32;
		dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle6;
		this.dataGridViewTextBoxColumn14.HeaderText = "水平位置";
		this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
		this.dataGridViewTextBoxColumn14.ReadOnly = true;
		this.dataGridViewTextBoxColumn14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn14.Width = 42;
		dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle7;
		this.dataGridViewTextBoxColumn15.HeaderText = "垂直位置";
		this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
		this.dataGridViewTextBoxColumn15.ReadOnly = true;
		this.dataGridViewTextBoxColumn15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn15.Width = 42;
		dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle8;
		this.dataGridViewTextBoxColumn16.HeaderText = "采样深度";
		this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
		this.dataGridViewTextBoxColumn16.ReadOnly = true;
		this.dataGridViewTextBoxColumn16.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn16.Width = 42;
		dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle9;
		this.dataGridViewTextBoxColumn17.HeaderText = "描述";
		this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
		this.dataGridViewTextBoxColumn17.ReadOnly = true;
		this.dataGridViewTextBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn17.Width = 32;
		this.dataGridViewTextBoxColumn18.DataPropertyName = "symbol";
		dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle10;
		this.dataGridViewTextBoxColumn18.FillWeight = 20f;
		this.dataGridViewTextBoxColumn18.HeaderText = "符号";
		this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
		this.dataGridViewTextBoxColumn18.ReadOnly = true;
		this.dataGridViewTextBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn18.Visible = false;
		this.dataGridViewTextBoxColumn18.Width = 35;
		this.dataGridViewTextBoxColumn19.DataPropertyName = "mass";
		dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle11;
		this.dataGridViewTextBoxColumn19.FillWeight = 20f;
		this.dataGridViewTextBoxColumn19.HeaderText = "质量数";
		this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
		this.dataGridViewTextBoxColumn19.ReadOnly = true;
		this.dataGridViewTextBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn19.Width = 47;
		this.dataGridViewTextBoxColumn20.DataPropertyName = "abundance";
		dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle13;
		this.dataGridViewTextBoxColumn20.FillWeight = 20f;
		this.dataGridViewTextBoxColumn20.HeaderText = "丰度";
		this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
		this.dataGridViewTextBoxColumn20.ReadOnly = true;
		this.dataGridViewTextBoxColumn20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn20.Width = 35;
		this.dataGridViewTextBoxColumn21.DataPropertyName = "equation";
		dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle14;
		this.dataGridViewTextBoxColumn21.FillWeight = 20f;
		this.dataGridViewTextBoxColumn21.HeaderText = "校正方程";
		this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
		this.dataGridViewTextBoxColumn21.ReadOnly = true;
		this.dataGridViewTextBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn21.Width = 59;
		this.dataGridViewTextBoxColumn22.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn22.DataPropertyName = "interferences";
		dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle15;
		this.dataGridViewTextBoxColumn22.FillWeight = 20f;
		this.dataGridViewTextBoxColumn22.HeaderText = "干扰";
		this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
		this.dataGridViewTextBoxColumn22.ReadOnly = true;
		this.dataGridViewTextBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn23.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn23.DataPropertyName = "symbol";
		dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle16;
		this.dataGridViewTextBoxColumn23.FillWeight = 20f;
		this.dataGridViewTextBoxColumn23.HeaderText = "符号";
		this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
		this.dataGridViewTextBoxColumn23.ReadOnly = true;
		this.dataGridViewTextBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn24.DataPropertyName = "mass";
		dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle17;
		this.dataGridViewTextBoxColumn24.FillWeight = 20f;
		this.dataGridViewTextBoxColumn24.HeaderText = "类型";
		this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
		this.dataGridViewTextBoxColumn24.ReadOnly = true;
		this.dataGridViewTextBoxColumn24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn24.Visible = false;
		this.dataGridViewTextBoxColumn24.Width = 35;
		this.dataGridViewTextBoxColumn25.DataPropertyName = "abundance";
		dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle18;
		this.dataGridViewTextBoxColumn25.FillWeight = 20f;
		this.dataGridViewTextBoxColumn25.HeaderText = "元素";
		this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
		this.dataGridViewTextBoxColumn25.ReadOnly = true;
		this.dataGridViewTextBoxColumn25.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn25.Width = 35;
		this.dataGridViewTextBoxColumn26.DataPropertyName = "equation";
		dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle19;
		this.dataGridViewTextBoxColumn26.FillWeight = 20f;
		this.dataGridViewTextBoxColumn26.HeaderText = "质量数";
		this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
		this.dataGridViewTextBoxColumn26.ReadOnly = true;
		this.dataGridViewTextBoxColumn26.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn26.Width = 47;
		this.dataGridViewTextBoxColumn27.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn27.DataPropertyName = "interferences";
		dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle20;
		this.dataGridViewTextBoxColumn27.FillWeight = 20f;
		this.dataGridViewTextBoxColumn27.HeaderText = "丰度(%)";
		this.dataGridViewTextBoxColumn27.MinimumWidth = 100;
		this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
		this.dataGridViewTextBoxColumn27.ReadOnly = true;
		this.dataGridViewTextBoxColumn27.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn27.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn28.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn28.DataPropertyName = "start";
		dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle21;
		this.dataGridViewTextBoxColumn28.FillWeight = 20f;
		this.dataGridViewTextBoxColumn28.HeaderText = "起始质量数";
		this.dataGridViewTextBoxColumn28.MinimumWidth = 100;
		this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
		this.dataGridViewTextBoxColumn28.ReadOnly = true;
		this.dataGridViewTextBoxColumn28.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn28.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn29.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn29.DataPropertyName = "end";
		dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle22;
		this.dataGridViewTextBoxColumn29.HeaderText = "终止质量数";
		this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
		this.dataGridViewTextBoxColumn29.ReadOnly = true;
		this.dataGridViewTextBoxColumn29.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn29.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn30.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn30.DataPropertyName = "dwell";
		dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle24;
		this.dataGridViewTextBoxColumn30.HeaderText = "驻留时间(ms)";
		this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
		this.dataGridViewTextBoxColumn30.ReadOnly = true;
		this.dataGridViewTextBoxColumn30.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn30.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn31.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn31.DataPropertyName = "channels";
		dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
		this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle25;
		this.dataGridViewTextBoxColumn31.HeaderText = "质量数通道";
		this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
		this.dataGridViewTextBoxColumn31.ReadOnly = true;
		this.dataGridViewTextBoxColumn31.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn31.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn32.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn32.DataPropertyName = "start";
		dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle26;
		this.dataGridViewTextBoxColumn32.HeaderText = "样品名称";
		this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
		this.dataGridViewTextBoxColumn32.ReadOnly = true;
		this.dataGridViewTextBoxColumn32.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn32.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn33.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn33.DataPropertyName = "end";
		dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle27;
		this.dataGridViewTextBoxColumn33.HeaderText = "测量次数";
		this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33";
		this.dataGridViewTextBoxColumn33.ReadOnly = true;
		this.dataGridViewTextBoxColumn33.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn33.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn34.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn34.DataPropertyName = "dwell";
		dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle28;
		this.dataGridViewTextBoxColumn34.HeaderText = "实际重量";
		this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34";
		this.dataGridViewTextBoxColumn34.ReadOnly = true;
		this.dataGridViewTextBoxColumn34.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn34.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn35.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn35.DataPropertyName = "channels";
		dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn35.DefaultCellStyle = dataGridViewCellStyle29;
		this.dataGridViewTextBoxColumn35.HeaderText = "实际体积";
		this.dataGridViewTextBoxColumn35.Name = "dataGridViewTextBoxColumn35";
		this.dataGridViewTextBoxColumn35.ReadOnly = true;
		this.dataGridViewTextBoxColumn35.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn35.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn36.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn36.DataPropertyName = "dwell";
		dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle30;
		this.dataGridViewTextBoxColumn36.HeaderText = "稀释系数";
		this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36";
		this.dataGridViewTextBoxColumn36.ReadOnly = true;
		this.dataGridViewTextBoxColumn36.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn36.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn37.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn37.DataPropertyName = "channels";
		dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle31;
		this.dataGridViewTextBoxColumn37.HeaderText = "标准名称";
		this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37";
		this.dataGridViewTextBoxColumn37.ReadOnly = true;
		this.dataGridViewTextBoxColumn37.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn38.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn38.DataPropertyName = "resolution";
		dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle32;
		this.dataGridViewTextBoxColumn38.HeaderText = "浓度";
		this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
		this.dataGridViewTextBoxColumn38.ReadOnly = true;
		this.dataGridViewTextBoxColumn38.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn38.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn39.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn39.DataPropertyName = "settings";
		this.dataGridViewTextBoxColumn39.HeaderText = "计算浓度";
		this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
		this.dataGridViewTextBoxColumn39.ReadOnly = true;
		this.dataGridViewTextBoxColumn39.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn40.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn40.DataPropertyName = "symbol";
		this.dataGridViewTextBoxColumn40.HeaderText = "偏差";
		this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40";
		this.dataGridViewTextBoxColumn40.ReadOnly = true;
		this.dataGridViewTextBoxColumn40.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn41.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn41.DataPropertyName = "dwell";
		dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle33;
		this.dataGridViewTextBoxColumn41.HeaderText = "强度";
		this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41";
		this.dataGridViewTextBoxColumn41.ReadOnly = true;
		this.dataGridViewTextBoxColumn41.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn42.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn42.DataPropertyName = "start";
		dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle35;
		this.dataGridViewTextBoxColumn42.HeaderText = "起始值";
		this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
		this.dataGridViewTextBoxColumn42.ReadOnly = true;
		this.dataGridViewTextBoxColumn42.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn43.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn43.DataPropertyName = "end";
		this.dataGridViewTextBoxColumn43.HeaderText = "终止值";
		this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
		this.dataGridViewTextBoxColumn43.ReadOnly = true;
		this.dataGridViewTextBoxColumn43.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn44.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn44.DataPropertyName = "dwell";
		this.dataGridViewTextBoxColumn44.HeaderText = "驻留时间";
		this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44";
		this.dataGridViewTextBoxColumn44.ReadOnly = true;
		this.dataGridViewTextBoxColumn44.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn45.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn45.DataPropertyName = "channels";
		dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn45.DefaultCellStyle = dataGridViewCellStyle36;
		this.dataGridViewTextBoxColumn45.HeaderText = "通道";
		this.dataGridViewTextBoxColumn45.Name = "dataGridViewTextBoxColumn45";
		this.dataGridViewTextBoxColumn45.ReadOnly = true;
		this.dataGridViewTextBoxColumn45.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn46.DataPropertyName = "symbol";
		dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn46.DefaultCellStyle = dataGridViewCellStyle37;
		this.dataGridViewTextBoxColumn46.HeaderText = "偏差";
		this.dataGridViewTextBoxColumn46.Name = "dataGridViewTextBoxColumn46";
		this.dataGridViewTextBoxColumn46.ReadOnly = true;
		this.dataGridViewTextBoxColumn46.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn46.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn46.Width = 35;
		this.dataGridViewTextBoxColumn47.DataPropertyName = "concentration";
		this.dataGridViewTextBoxColumn47.HeaderText = "强度";
		this.dataGridViewTextBoxColumn47.Name = "dataGridViewTextBoxColumn47";
		this.dataGridViewTextBoxColumn47.ReadOnly = true;
		this.dataGridViewTextBoxColumn47.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn47.Width = 35;
		this.dataGridViewTextBoxColumn48.DataPropertyName = "units";
		this.dataGridViewTextBoxColumn48.HeaderText = "浓度";
		this.dataGridViewTextBoxColumn48.Name = "dataGridViewTextBoxColumn48";
		this.dataGridViewTextBoxColumn48.ReadOnly = true;
		this.dataGridViewTextBoxColumn48.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn48.Width = 35;
		this.dataGridViewTextBoxColumn49.DataPropertyName = "symbol";
		this.dataGridViewTextBoxColumn49.HeaderText = "计算浓度";
		this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49";
		this.dataGridViewTextBoxColumn49.ReadOnly = true;
		this.dataGridViewTextBoxColumn49.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn49.Width = 59;
		this.dataGridViewTextBoxColumn50.DataPropertyName = "technique";
		this.dataGridViewTextBoxColumn50.HeaderText = "偏差";
		this.dataGridViewTextBoxColumn50.Name = "dataGridViewTextBoxColumn50";
		this.dataGridViewTextBoxColumn50.ReadOnly = true;
		this.dataGridViewTextBoxColumn50.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.dataGridViewTextBoxColumn50.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn50.Width = 35;
		dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
		this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle38;
		this.dataGridViewTextBoxColumn51.HeaderText = "强度";
		this.dataGridViewTextBoxColumn51.Name = "dataGridViewTextBoxColumn51";
		this.dataGridViewTextBoxColumn51.ReadOnly = true;
		this.dataGridViewTextBoxColumn51.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn51.Width = 35;
		this.dataGridViewTextBoxColumn52.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn52.DataPropertyName = "number";
		dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle39;
		this.dataGridViewTextBoxColumn52.HeaderText = "测量次数";
		this.dataGridViewTextBoxColumn52.Name = "dataGridViewTextBoxColumn52";
		this.dataGridViewTextBoxColumn52.ReadOnly = true;
		this.dataGridViewTextBoxColumn52.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn52.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn53.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn53.DataPropertyName = "label";
		dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle40;
		this.dataGridViewTextBoxColumn53.HeaderText = "标准名称";
		this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53";
		this.dataGridViewTextBoxColumn53.ReadOnly = true;
		this.dataGridViewTextBoxColumn53.Resizable = System.Windows.Forms.DataGridViewTriState.False;
		this.dataGridViewTextBoxColumn53.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn54.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn54.DataPropertyName = "type";
		this.dataGridViewTextBoxColumn54.HeaderText = "浓度";
		this.dataGridViewTextBoxColumn54.Name = "dataGridViewTextBoxColumn54";
		this.dataGridViewTextBoxColumn54.ReadOnly = true;
		this.dataGridViewTextBoxColumn54.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn55.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn55.DataPropertyName = "surveys";
		this.dataGridViewTextBoxColumn55.HeaderText = "计算浓度";
		this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55";
		this.dataGridViewTextBoxColumn55.ReadOnly = true;
		this.dataGridViewTextBoxColumn55.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn56.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn56.DataPropertyName = "scans";
		this.dataGridViewTextBoxColumn56.HeaderText = "偏差";
		this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56";
		this.dataGridViewTextBoxColumn56.ReadOnly = true;
		this.dataGridViewTextBoxColumn56.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn57.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn57.DataPropertyName = "predilution";
		this.dataGridViewTextBoxColumn57.HeaderText = "强度";
		this.dataGridViewTextBoxColumn57.Name = "dataGridViewTextBoxColumn57";
		this.dataGridViewTextBoxColumn57.ReadOnly = true;
		this.dataGridViewTextBoxColumn57.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn58.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn58.DataPropertyName = "inter";
		this.dataGridViewTextBoxColumn58.HeaderText = "强度";
		this.dataGridViewTextBoxColumn58.Name = "dataGridViewTextBoxColumn58";
		this.dataGridViewTextBoxColumn58.ReadOnly = true;
		this.dataGridViewTextBoxColumn58.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn59.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn59.DataPropertyName = "blank";
		this.dataGridViewTextBoxColumn59.HeaderText = "指定空白";
		this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59";
		this.dataGridViewTextBoxColumn60.HeaderText = "标准名称";
		this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60";
		this.dataGridViewTextBoxColumn60.ReadOnly = true;
		this.dataGridViewTextBoxColumn60.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn60.Width = 59;
		this.dataGridViewTextBoxColumn61.HeaderText = "浓度";
		this.dataGridViewTextBoxColumn61.Name = "dataGridViewTextBoxColumn61";
		this.dataGridViewTextBoxColumn61.ReadOnly = true;
		this.dataGridViewTextBoxColumn61.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn61.Width = 35;
		this.dataGridViewTextBoxColumn62.HeaderText = "计算浓度";
		this.dataGridViewTextBoxColumn62.Name = "dataGridViewTextBoxColumn62";
		this.dataGridViewTextBoxColumn62.ReadOnly = true;
		this.dataGridViewTextBoxColumn62.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn62.Width = 59;
		this.dataGridViewTextBoxColumn63.HeaderText = "偏差";
		this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63";
		this.dataGridViewTextBoxColumn63.ReadOnly = true;
		this.dataGridViewTextBoxColumn63.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn63.Width = 35;
		this.dataGridViewTextBoxColumn64.HeaderText = "强度";
		this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64";
		this.dataGridViewTextBoxColumn64.ReadOnly = true;
		this.dataGridViewTextBoxColumn64.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn64.Width = 35;
		this.panelTest.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panelTest.Location = new System.Drawing.Point(0, 64);
		this.panelTest.Margin = new System.Windows.Forms.Padding(0);
		this.panelTest.Name = "panelTest";
		this.panelTest.Size = new System.Drawing.Size(1056, 644);
		this.panelTest.TabIndex = 3;
		base.AutoScaleDimensions = new System.Drawing.SizeF(8f, 15f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.ClientSize = new System.Drawing.Size(1056, 708);
		base.Controls.Add(this.panelTest);
		base.Controls.Add(this.toolStrip1);
		base.Controls.Add(this.menuStrip1);
		base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
		base.MainMenuStrip = this.menuStrip1;
		base.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
		base.Name = "FormExperiment";
		base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
		this.Text = "测试";
		base.WindowState = System.Windows.Forms.FormWindowState.Maximized;
		base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FormExperiment_FormClosing);
		base.Load += new System.EventHandler(FormExperiment_Load);
		this.groupBox13.ResumeLayout(false);
		this.groupBox13.PerformLayout();
		this.menuStrip1.ResumeLayout(false);
		this.menuStrip1.PerformLayout();
		this.toolStrip1.ResumeLayout(false);
		this.toolStrip1.PerformLayout();
		base.ResumeLayout(false);
		base.PerformLayout();
	}
}
